package cn.wangyu.mo.categoryMenu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import cn.wangyu.mo.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author wangyu
 * @since 2021-04-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_category_menu")
@ApiModel(value="CategoryMenu对象", description="菜单表")
public class CategoryMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单级别")
    private Boolean menuLevel;

    @ApiModelProperty(value = "简介")
    private String summary;

    @ApiModelProperty(value = "父级id")
    private String parentId;

    @ApiModelProperty(value = "url地址")
    private String url;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "排序字段，越大越靠前")
    private Integer sort;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "是否显示 1:是 0:否")
    private Boolean isShow;

    @ApiModelProperty(value = "菜单类型 0: 菜单   1: 按钮")
    private Boolean menuType;

    @ApiModelProperty(value = "是否跳转外部链接 0：否，1：是")
    private Boolean isJumpExternalUrl;


}
